from sqlalchemy import Table, Column, Integer, String, ForeignKey, DateTime


def get_history_table(metadata):
    return Table(
        "history", metadata,
        Column("id", Integer, primary_key=True),
        Column("datetime", DateTime),
        Column("action", String)
        )


def create_schema(metadata):
    return [
        get_history_table(metadata),
        ]
